From: Michael Gilbert Date: Sun, 13 Mar 2022 04:27:41 +0000 (+0000) Subject: retrieve the correct union member X-Git-Tag: archive/raspbian/7.0_repack-10+rpi1~4^2~5 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fac192f854e71486147a8194de4f06516e22093e;p=wine.git retrieve the correct union member Gbp-Pq: Topic arm64 Gbp-Pq: Name incorrect-member.patch --- diff --git a/dlls/dbghelp/cpu_arm64.c b/dlls/dbghelp/cpu_arm64.c index 515294f..29a94ea 100644 --- a/dlls/dbghelp/cpu_arm64.c +++ b/dlls/dbghelp/cpu_arm64.c @@ -170,7 +170,7 @@ static unsigned arm64_map_dwarf_register(unsigned regno, const struct module* mo static void *arm64_fetch_context_reg(union ctx *pctx, unsigned regno, unsigned *size) { #ifdef __aarch64__ - CONTEXT *ctx = pctx; + CONTEXT *ctx = &pctx->ctx; switch (regno) {